package com.unohacha.qqj.fzdr.bean.homebean;

import java.util.List;

/**
 * 物资行情列表
 */

public class HomeAppMaterialListBean {

    /**
     * code : 1
     * message : 成功
     * data : {"total":5,"current_page":1,"last_page":1,"data":[{"id":114,"name":"特种纱","min":0,"max":0},{"id":106,"name":"长丝","min":0,"max":0},{"id":107,"name":"短纤","min":0,"max":0},{"id":108,"name":"雪尼尔","min":0,"max":0},{"id":110,"name":"其他纱线","min":0,"max":0}]}
     */

    private int code;
    private String message;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 5
         * current_page : 1
         * last_page : 1
         * data : [{"id":114,"name":"特种纱","min":0,"max":0},{"id":106,"name":"长丝","min":0,"max":0},{"id":107,"name":"短纤","min":0,"max":0},{"id":108,"name":"雪尼尔","min":0,"max":0},{"id":110,"name":"其他纱线","min":0,"max":0}]
         */

        private int total;
        private int current_page;
        private int last_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 114
             * name : 特种纱
             * min : 0
             * max : 0
             */

            private int id;
            private String name;
            private int min;
            private int max;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getMin() {
                return min;
            }

            public void setMin(int min) {
                this.min = min;
            }

            public int getMax() {
                return max;
            }

            public void setMax(int max) {
                this.max = max;
            }
        }
    }
}
